numexpr-2.13-compat
authorAntonio Valentino <antonio.valentino@tiscali.it>
Sat, 27 Sep 2025 08:33:53 +0000 (08:33 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 24 Feb 2026 02:49:00 +0000 (02:49 +0000)
Forwarded: https://github.com/PyTables/PyTables/pull/1256

Gbp-Pq: Name 0007-numexpr-2.13-compat.patch

tables/tests/test_queries.py

index 704439047b5396470025f8b259dd8733679c70ff..d0ae85e286ed26b4fa8ac93c8aa2b71b52c99080 100644 (file)
@@ -485,9 +485,7 @@ def create_test_method(type_, op, extracond, func=None):
                     for _ in range(2)
                 ]
             except TypeError as te:
-                if self.condNotBoolean_re.search(str(te)):
-                    raise SilentlySkipTest("The condition is not boolean.")
-                raise
+                raise SilentlySkipTest("The condition is not boolean.")
             except NotImplementedError:
                 raise SilentlySkipTest(
                     "The PyTables type does not support the operation."